
package com.phonemap.service.server.jaxws;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlRootElement(name = "createOrUpdatePhoto", namespace = "http://server.service.phonemap.com/")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "createOrUpdatePhoto", namespace = "http://server.service.phonemap.com/", propOrder = {
    "userId",
    "title",
    "caption",
    "contentType",
    "photoData",
    "photoPath"
})
public class CreateOrUpdatePhoto {

    @XmlElement(name = "userId", namespace = "")
    private String userId;
    @XmlElement(name = "title", namespace = "")
    private String title;
    @XmlElement(name = "caption", namespace = "")
    private String caption;
    @XmlElement(name = "contentType", namespace = "")
    private String contentType;
    @XmlElement(name = "photoData", namespace = "", nillable = true)
    private byte[] photoData;
    @XmlElement(name = "photoPath", namespace = "")
    private String photoPath;

    /**
     * 
     * @return
     *     returns String
     */
    public String getUserId() {
        return this.userId;
    }

    /**
     * 
     * @param userId
     *     the value for the userId property
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * 
     * @return
     *     returns String
     */
    public String getTitle() {
        return this.title;
    }

    /**
     * 
     * @param title
     *     the value for the title property
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 
     * @return
     *     returns String
     */
    public String getCaption() {
        return this.caption;
    }

    /**
     * 
     * @param caption
     *     the value for the caption property
     */
    public void setCaption(String caption) {
        this.caption = caption;
    }

    /**
     * 
     * @return
     *     returns String
     */
    public String getContentType() {
        return this.contentType;
    }

    /**
     * 
     * @param contentType
     *     the value for the contentType property
     */
    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    /**
     * 
     * @return
     *     returns byte[]
     */
    public byte[] getPhotoData() {
        return this.photoData;
    }

    /**
     * 
     * @param photoData
     *     the value for the photoData property
     */
    public void setPhotoData(byte[] photoData) {
        this.photoData = photoData;
    }

    /**
     * 
     * @return
     *     returns String
     */
    public String getPhotoPath() {
        return this.photoPath;
    }

    /**
     * 
     * @param photoPath
     *     the value for the photoPath property
     */
    public void setPhotoPath(String photoPath) {
        this.photoPath = photoPath;
    }

}
